package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.Course;

import java.util.List;

/**
 * 课程Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface CourseMapper extends BaseMapper<Course>
{
    /**
     * 查询课程
     * 
     * @param id 课程ID
     * @return 课程
     */
    public Course selectCourseById(Long id);

    /**
     * 查询课程列表
     * 
     * @param course 课程
     * @return 课程集合
     */
    public List<Course> selectCourseList(Course course);

}
